package com.zhengaz.common.es.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author zhengzg
 * @create 2023-09-22 13:41
 */
@Data
@Component
@ConfigurationProperties(prefix = "spring.data.elasticsearch")
public class EsProperties {
    private String scheme;

    private List<String> clusterNodes;

    private Integer connectionRequestTimeout;

    private Integer socketTimeout;

    private Integer connectTimeout;

    private String username;

    private String password;
}
